package com.r2coding.server.modules.user.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.r2coding.web.serializer.IdEncryptSerializer;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @author 98k灬
 * @version v1.0.0
 * @Description : 功能描述
 * @Create on : 2023/10/10 13:04
 **/
@AllArgsConstructor
@NoArgsConstructor
@Builder
@Accessors(chain = true)
@Data
public class UserInfoVo implements Serializable {

    private static final long serialVersionUID = 1947687698366590587L;

    private String username;

    @JsonSerialize(using = IdEncryptSerializer.class)
    private Long rootFileId;

    private String rootFilename;
}
